package com.example.shujuku.pojo;

import java.util.Date;

public class Stu {
    private String number;
    private String name;
    private Date birthbay;
    private String stuclass;

    public Stu() {}
    public Stu(String number, String name, Date birthDate, String stuclass) {
        this.number = number;
        this.name = name;
        this.birthbay = birthDate;
        this.stuclass = stuclass;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthbay;
    }

    public void setBirthday(Date birthDate) {
        this.birthbay = birthDate;
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setStuclass(String stuclass) {
        this.stuclass = stuclass;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", birthDate=" + birthbay +
                ", stuclass='" + stuclass + '\'' +
                '}';
    }

}
